﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Pong.Core.Entities
{
    public class Game
    {
        public PlayGround PlayGround { get; set; }
        public IList<Player> Players { get; set; }
        public IList<Ball> Balls { get; set; }
        public IDictionary<Player, int> Scores { get; set; }
        public int MaxScore { get; set; }
        public Player StartingPlayer { get; set; }
        public GameStatus Status { get; set; }
    }

    public enum GameStatus
    {
        NotStart = 0,
        InProgress = 1,
        Finished = 2
    }
}
